package com.qiangqiang.resoldhouse.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * @author: zqh
 * @date: 2018/8/15 9:15
 * @description:
 */
@Data
@TableName("comment")
public class Comment {

    //评论的id
    @TableId("comment_id")
    private Long commentId;

    //评论的用户id
    private Long userId;

    //评论的预约的经纪人id
    private Long agentId;

    //评论的预约的id
    private Long appointmentId;

    //评论时间
    private Long commentTime;

    //评论星级 1-5级
    private Integer star;

    //评论内容
    private String content;
}
